
//
//
//	NadineW32Log.h
//
//
//

namespace Nadine{
	class NDW32Log :public NDLog
	{
	private:
		std::fstream m_fout;
		SYSTEMTIME	 m_st;

		NDW32ReadWriteLocker	m_rwl;

	protected:
	public:
		NDW32Log()			{}
		virtual ~NDW32Log() {}

		virtual void release() { this->m_bReleased =true; endLogFile(); }

		virtual bool newLogFile(const char* pFileName =NULL);
		virtual void endLogFile();

		virtual bool logMessage(int nProperty, WCHAR* pLogString, ...);

	};

}
